home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / EDUCTORY / INTRSTA1.LZH / INSTALL.BAT next >
DOS Batch File  |  1993-01-10  |  2KB  |  58 lines

  1. echo off
  2. cls
  3. if ARG==ARG%1 goto m1
  4. goto m2
  5. :m2
  6. echo          Selected SOURCE drive .......... %1
  7. echo          Selected TARGET drive .......... %2
  8. echo          Selected TARGET directory ...... %3
  9. echo Do the following to accept these drives and directory, or press
  10. echo Ctrl/C to exit.
  11. pause
  12. cls
  13. if exist %1ist11@@@.exe goto m5
  14. echo ..... File Not Found
  15. goto end
  16. :m5
  17. %2
  18. cd\
  19. md %3
  20. cd %3
  21. %1ist11@@@
  22. cd\
  23. goto m3
  24. :m1
  25. echo          Default SOURCE drive ........... A:
  26. echo          Default TARGET drive ........... C:
  27. echo          Default TARGET directory ....... IST11
  28. echo The program files will be decompressed and transferred from the
  29. echo source drive to the default target drive and directory.
  30. echo The default target directory will be created if it does not
  31. echo exist.  If you wish to change any of these defaults, exit this
  32. echo batch file by pressing Ctrl/C.  Then rerun it with three
  33. echo parameters (of your choice) as shown in the following example -
  34. echo                    INSTALL B: C: ISTXX
  35. echo                            ~~ ~~ ~~~~~
  36. echo      where B: is the SOURCE drive
  37. echo            C: is the TARGET drive
  38. echo            ISTXX is the TARGET directory
  39. echo All three parameters must be specified, even if only one is
  40. echo changed.  Now, either press Ctrl/C or do the following to
  41. echo accept the defaults -
  42. pause
  43. cls
  44. if exist a:ist11@@@.exe goto m4
  45. echo ..... File Not Found
  46. goto end
  47. :m4
  48. c:
  49. cd\
  50. md ist11
  51. cd ist11
  52. a:ist11@@@
  53. cd\
  54. echo            ....  PRESS ENTER THEN INSERT DISK 2  ........
  55. pause
  56. goto m1
  57. :end
  58.